import { Injectable, Injector } from '@angular/core';
import { BaseService } from '@shared';

@Injectable({
  providedIn: 'root',
})
export class ChannelSalesService extends BaseService {
  
  // 保存渠道销售管理
  $api_save = '/api/mdc/channelSalesManagement/save';
  
  // 查询渠道销售管理表
  $api_getPage = '/api/mdc/channelSalesManagement/list/page';
  // OA员工模糊查询
  $api_fuzzyQuery = '/api/mdc/channelSalesManagement/fuzzyQuery';
  // 获取角色列表
  $api_getAppRoleList = '/api/mdc/cuc/roleInfo/getRoleList';
  // 获取渠道销售管理详情
  $api_listChannelSalesManagement = '/api/mdc/channelSalesManagement/list/listChannelSalesManagement';
  // 根据渠道销售id获取渠道信息
  $api_getChannelSalesInfo = '/api/mdc/channelSalesManagement/getChannelSalesInfo';
  // 冻结渠道销售
  $api_frozenChannelSales = '/api/mdc/channelSalesManagement/frozenChannelSales';
  // 激活渠道销售
  $api_activeChannelSales = '/api/mdc/channelSalesManagement/activeChannelSales';
  

  constructor(public injector: Injector) {
    super(injector);
  }
}
